﻿using System;
using LantinxShare.Common;

namespace LantinxShare.LBS
{
    public class GMark : CommonEntity
    {
        public String MarkName { get; set; }
        public String Address { get; set; }
        public String Description { get; set; }
        public double Longitude { get; set; }
        public double Latitude { get; set; }
        public double Altitude { get; set; }

        /// <summary>
        /// 正东
        /// </summary>
        public double East { get; set; }

        /// <summary>
        /// 正西
        /// </summary>
        public double West { get; set; }

        /// <summary>
        /// 正南
        /// </summary>
        public double South { get; set; }

        /// <summary>
        /// 正北
        /// </summary>
        public double North { get; set; }

        /// <summary>
        /// 半径
        /// </summary>
        public double Radius { get; set; }

        public override string ToString()
        {
            return Id + G._ + MarkName + G._ + Address 
                + G._ + Description + G._ + Longitude + G._ + Latitude + G._ + Altitude
                + G._ + Radius + G._ + West + G._ + South + G._ + East + G._ + North;
        }
    }
}